import type {
  RouteRecordRaw
} from 'vue-router'

const notice: RouteRecordRaw = {
  path: '/notice',
  component: () => import('@/views/notice/index.vue'),
  redirect: '/notice/messageNotice',
  name: 'notice',
  children: [
    {
      path: 'messageNotice',
      name: 'MessageNotice',
      component: () => import('@/views/notice/messageNotice/index.vue'),
      meta: {
        title: '消息通知'
      }
    },
    {
      path: 'list',
      name: 'NoticeList',
      component: () => import('@/views/notice/list.vue'),
      meta: {
        title: '通知列表'
      }
    }
  ]
}
export default notice
